<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Whisper: main.cxx File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Whisper
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">main.cxx File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;cstdlib&gt;</code><br/>
<code>#include &lt;getopt.h&gt;</code><br/>
<code>#include &lt;iostream&gt;</code><br/>
<code>#include &lt;string&gt;</code><br/>
<code>#include &quot;<a class="el" href="properties__reader_8h_source.html">properties_reader.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="routing__io_8h_source.html">routing/routing_io.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="wave__io_8h_source.html">wave/wave_io.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="socket__io_8h_source.html">socket_io.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="combination__io_8h_source.html">combination_io.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="deinterleave__io_8h_source.html">deinterleave_io.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="original__modified__io_8h_source.html">original_modified_io.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="engine__factory_8h_source.html">engine_factory.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="types_8h_source.html">types.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="logger_8h_source.html">logger.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="stegit__framework_8h_source.html">stegit_framework.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="samples__preprocessor_8h_source.html">samples_preprocessor.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="ui__socket_8h_source.html">ui_socket.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="crypto__engines_8h_source.html">crypto/crypto_engines.h</a>&quot;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSIOConfig.html">SIOConfig</a></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cxx.html#afd594c44778892211fe8892be8852c1d">OPTION_STRING</a>&#160;&#160;&#160;&quot;hdc:r:w:R:W:1:2:3:4:e:p:is:E:b:D:o:&quot;</td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934">EIOType</a> { <br/>
&#160;&#160;<a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934aed9859fcb7c2efae5bb21880d1739232">IO_NONE</a> =  1, 
<a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934a613b2c7e0b188a9aa98a0ee8d99568ef">IO_WAVE_MONO</a>, 
<a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934ae4266a437b991b2e9751bbe32a07d892">IO_WAVE_STEREO_L</a>, 
<a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934a9a721eabe7c17c31605e99fb3ad0feb9">IO_WAVE_STEREO_R</a>, 
<br/>
&#160;&#160;<a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934a92b7441b423fabc574cd3447c06f41e5">IO_ALSA</a>, 
<a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934a137c2349b28796697bb52ef4d36b9a1f">IO_PULSE</a>, 
<a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934aa62278d70a288c5be84358470d5ee424">IO_ROUTING</a>, 
<a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934a7562eead1ca3323aa55bcbd27a4cb6a4">IO_SOCKET</a>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cxx.html#aadec45d912e12df3772657ef30f6de29">getOptions</a> (int argc, char *argv[], <a class="el" href="structSIOConfig.html">SIOConfig</a> &amp;pIOConf)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cxx.html#a92c04f6e6de4dd3d1529a110c32820e0">editConfig</a> (int argc, char *argv[], <a class="el" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a> &amp;pConfig)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934">EIOType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cxx.html#a363850dcc1d38bf638452aa83eec0955">getIoType</a> (char *ioType)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classISampleIO.html">ISampleIO</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cxx.html#a2c9802636243924cd89e43cb47ea6174">getNewIOInstance</a> (<a class="el" href="structSIOConfig.html">SIOConfig</a> &amp;pIOConf, <a class="el" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a> *pReader)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cxx.html#a3e60ade2b144d7fbc54c28032c13e135">sigInterruptHandler</a> (int pParam)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cxx.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cxx.html#a8414c9780aef39da3bda627ce2fc484f">sRunning</a> = true</td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="afd594c44778892211fe8892be8852c1d"></a><!-- doxytag: member="main.cxx::OPTION_STRING" ref="afd594c44778892211fe8892be8852c1d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OPTION_STRING&#160;&#160;&#160;&quot;hdc:r:w:R:W:1:2:3:4:e:p:is:E:b:D:o:&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="a005f2c44fa46b2c510553f9e28d44934"></a><!-- doxytag: member="main.cxx::EIOType" ref="a005f2c44fa46b2c510553f9e28d44934" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934">EIOType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a005f2c44fa46b2c510553f9e28d44934aed9859fcb7c2efae5bb21880d1739232"></a><!-- doxytag: member="IO_NONE" ref="a005f2c44fa46b2c510553f9e28d44934aed9859fcb7c2efae5bb21880d1739232" args="" -->IO_NONE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a005f2c44fa46b2c510553f9e28d44934a613b2c7e0b188a9aa98a0ee8d99568ef"></a><!-- doxytag: member="IO_WAVE_MONO" ref="a005f2c44fa46b2c510553f9e28d44934a613b2c7e0b188a9aa98a0ee8d99568ef" args="" -->IO_WAVE_MONO</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a005f2c44fa46b2c510553f9e28d44934ae4266a437b991b2e9751bbe32a07d892"></a><!-- doxytag: member="IO_WAVE_STEREO_L" ref="a005f2c44fa46b2c510553f9e28d44934ae4266a437b991b2e9751bbe32a07d892" args="" -->IO_WAVE_STEREO_L</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a005f2c44fa46b2c510553f9e28d44934a9a721eabe7c17c31605e99fb3ad0feb9"></a><!-- doxytag: member="IO_WAVE_STEREO_R" ref="a005f2c44fa46b2c510553f9e28d44934a9a721eabe7c17c31605e99fb3ad0feb9" args="" -->IO_WAVE_STEREO_R</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a005f2c44fa46b2c510553f9e28d44934a92b7441b423fabc574cd3447c06f41e5"></a><!-- doxytag: member="IO_ALSA" ref="a005f2c44fa46b2c510553f9e28d44934a92b7441b423fabc574cd3447c06f41e5" args="" -->IO_ALSA</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a005f2c44fa46b2c510553f9e28d44934a137c2349b28796697bb52ef4d36b9a1f"></a><!-- doxytag: member="IO_PULSE" ref="a005f2c44fa46b2c510553f9e28d44934a137c2349b28796697bb52ef4d36b9a1f" args="" -->IO_PULSE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a005f2c44fa46b2c510553f9e28d44934aa62278d70a288c5be84358470d5ee424"></a><!-- doxytag: member="IO_ROUTING" ref="a005f2c44fa46b2c510553f9e28d44934aa62278d70a288c5be84358470d5ee424" args="" -->IO_ROUTING</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a005f2c44fa46b2c510553f9e28d44934a7562eead1ca3323aa55bcbd27a4cb6a4"></a><!-- doxytag: member="IO_SOCKET" ref="a005f2c44fa46b2c510553f9e28d44934a7562eead1ca3323aa55bcbd27a4cb6a4" args="" -->IO_SOCKET</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a92c04f6e6de4dd3d1529a110c32820e0"></a><!-- doxytag: member="main.cxx::editConfig" ref="a92c04f6e6de4dd3d1529a110c32820e0" args="(int argc, char *argv[], CPropertiesReader &amp;pConfig)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool editConfig </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>argv</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a> &amp;&#160;</td>
          <td class="paramname"><em>pConfig</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a363850dcc1d38bf638452aa83eec0955"></a><!-- doxytag: member="main.cxx::getIoType" ref="a363850dcc1d38bf638452aa83eec0955" args="(char *ioType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="main_8cxx.html#a005f2c44fa46b2c510553f9e28d44934">EIOType</a> getIoType </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>ioType</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2c9802636243924cd89e43cb47ea6174"></a><!-- doxytag: member="main.cxx::getNewIOInstance" ref="a2c9802636243924cd89e43cb47ea6174" args="(SIOConfig &amp;pIOConf, CPropertiesReader *pReader)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classISampleIO.html">ISampleIO</a> * getNewIOInstance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structSIOConfig.html">SIOConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>pIOConf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a> *&#160;</td>
          <td class="paramname"><em>pReader</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aadec45d912e12df3772657ef30f6de29"></a><!-- doxytag: member="main.cxx::getOptions" ref="aadec45d912e12df3772657ef30f6de29" args="(int argc, char *argv[], SIOConfig &amp;pIOConf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool getOptions </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>argv</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structSIOConfig.html">SIOConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>pIOConf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a><!-- doxytag: member="main.cxx::main" ref="a0ddf1224851353fc92bfbff6f499fa97" args="(int argc, char *argv[])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>argv</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3e60ade2b144d7fbc54c28032c13e135"></a><!-- doxytag: member="main.cxx::sigInterruptHandler" ref="a3e60ade2b144d7fbc54c28032c13e135" args="(int pParam)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sigInterruptHandler </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pParam</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="a8414c9780aef39da3bda627ce2fc484f"></a><!-- doxytag: member="main.cxx::sRunning" ref="a8414c9780aef39da3bda627ce2fc484f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="main_8cxx.html#a8414c9780aef39da3bda627ce2fc484f">sRunning</a> = true<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 25 2012 22:00:40 for Whisper by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
